﻿(function ($) {
    $.widget("lordjs.subscriberWidget", {
        options: {
            widgetName: 'subscriberWidget'
        },
        _create: function () {
            ZEUS.DEBUG.log('Widget: ' + this.options.widgetName + " constructed");
            $.subscribe("getBookList", this._getBookList, this);
        },
        _getBookList: function (topic, data) {
            ZEUS.DEBUG.log("************* Book List *************");
            ZEUS.OBJ_UTIL.printArray(data);
            ZEUS.DEBUG.log("*************************************");
        }
    });
})(jQuery)